<?php

use  Biz\service\Album\AlbumListService;

/**
 *
 */
class MoreAlbumAction extends ActionPlugin
{
    const USER_LEVEL = self::LEVEL_NOTHING;

    public function main()
    {
        $page = $this->getRequest()->getPost('page', 1);//分类id
        $list =  AlbumListService::getMoreAlbum($page);
        $this->setSuccess(['list' => $list , 'is_over' => count($list) >=AlbumListService::PAGESIZE ? 0 :1]);

    }
}